<!doctype html>
<html lang="cn", ng-app="myApp">
    <head>
        <meta charset="utf-8">
        <title>测试</title>
    </head>
    <body ng-controller="MainListController">
    <ul>
        <li ng-repeat="name in names">
            <a href={{name.url}}>{{name.name}}</a>
        </li>
    </ul>
    </body>
    <script src="http://cdn.bootcss.com/angular.js/1.2.0rc2/angular.js"></script>
    <script src="/js/test.js"> </script>

</html>